#include "Grammar.h"

bool Dictionary::Grammar::operator==(char *element) const
{
	return !std::strcmp(this->element,element);
}

bool Dictionary::Grammar::operator==(const std::string &element) const
{
	return !std::strcmp(this->element,element.c_str());
}